package invs.invs300both;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;

import android.util.Log;

public class GuoJiPair
{
	public static String[] GetGuoJi(String szGuoJi)
	{
		for (int i=0; i<STR_LIST.length; i++){
			if (szGuoJi.compareToIgnoreCase(STR_LIST[i][0]) == 0  || szGuoJi.compareToIgnoreCase(STR_LIST[i][1]) == 0){
				return STR_LIST[i];
			}
		}
		return null;
	}
	
	public static final String[][] STR_LIST = 
		{
		{"004","AFG","阿富汗"},
		{"008","ALB","阿尔巴尼亚"},
		{"012","DZA","阿尔及利亚"},
		{"016","ASM","美属萨摩亚"},
		{"020","AND","安道尔"},
		{"024","AGO","安哥拉"},
		{"660","AIA","安圭拉"},
		{"010","ATA","南极洲"},
		{"028","ATG","安提瓜和巴布达"},
		{"032","ARG","阿根廷"},
		{"051","ARM","亚美尼亚"},
		{"533","ABW","阿鲁巴"},
		{"036","AUS","澳大利亚"},
		{"040","AUT","奥地利"},
		{"031","AZE","阿塞拜疆"},
		{"044","BHS","巴哈马"},
		{"048","BHR","巴林"},
		{"050","BGD","孟加拉国"},
		{"052","BRB","巴巴多斯"},
		{"112","BLR","白俄罗斯"},
		{"056","BEL","比利时"},
		{"084","BLZ","伯利兹"},
		{"204","BEN","贝宁"},
		{"060","BMU","百慕大"},
		{"064","BTN","不丹"},
		{"068","BOL","玻利维亚"},
		{"070","BIH","波黑"},
		{"072","BWA","博茨瓦纳"},
		{"074","BVT","布维岛"},
		{"076","BRA","巴西"},
		{"086","IOT","英属印度洋领土"},
		{"096","BRN","文莱"},
		{"100","BGR","保加利亚"},
		{"854","BFA","布基纳法索"},
		{"108","BDI","布隆迪"},
		{"116","KHM","柬埔寨"},
		{"120","CMR","喀麦隆"},
		{"124","CAN","加拿大"},
		{"132","CPV","佛得角"},
		{"136","CYM","开曼群岛"},
		{"140","CAF","中非"},
		{"148","TCD","乍得"},
		{"152","CHL","智利"},
		{"156","CHN","中国"},
		{"344","HKG","香港"},
		{"446","MAC","澳门"},
		{"158","TWN","台湾"},
		{"162","CSR","圣诞岛"},
		{"166","CCK","科科斯(基林)群岛"},
		{"170","COL","哥伦比亚"},
		{"174","COM","科摩罗"},
		{"178","COG","刚果（布）"},
		{"180","COD","刚果（金）"},
		{"184","COK","库克群岛"},
		{"188","CR","哥斯达黎加"},
		{"384","CIV","科特迪瓦"},
		{"191","HRV","克罗地亚"},
		{"192","CUB","古巴"},
		{"196","CYP","塞浦路斯"},
		{"203","CZE","捷克"},
		{"208","DNK","丹麦"},
		{"262","DJI","吉布提"},
		{"212","DMA","多米尼克"},
		{"214","DOM","多米尼加共和国"},
		{"626","TMP","东帝汶"},
		{"218","ECU","厄瓜多尔"},
		{"818","EGY","埃及"},
		{"222","SLV","萨尔瓦多"},
		{"226","GNQ","赤道几内亚"},
		{"232","ERI","厄立特里亚"},
		{"233","EST","爱沙尼亚"},
		{"231","ETH","埃塞俄比亚"},
		{"238","FLK","福克兰群岛(马尔维纳斯)"},
		{"234","FRO","法罗群岛"},
		{"242","FJI","斐济"},
		{"246","FIN","芬兰"},
		{"250","FRA","法国"},
		{"254","GUF","法属圭亚那"},
		{"258","PYF","法属波利尼西亚"},
		{"260","ATF","法属南部领土"},
		{"266","GAB","加蓬"},
		{"270","GMB","冈比亚Gambia"},
		{"268","GEO","格鲁吉亚"},
		{"276","DEU","德国"},
		{"288","GHA","加纳"},
		{"292","GIB","直布罗陀"},
		{"300","GRC","希腊"},
		{"304","GRL","格陵兰"},
		{"308","GRD","格林纳达"},
		{"312","GLP","瓜德罗普"},
		{"316","GUM","关岛"},
		{"320","GTM","危地马拉"},
		{"324","GIN","几内亚"},
		{"624","GNB","几内亚比绍"},
		{"328","GUY","圭亚那"},
		{"332","HTI","海地"},
		{"334","HMD","赫德岛和麦克唐纳岛"},
		{"340","HND","洪都拉斯"},
		{"348","HUN","匈牙利"},
		{"352","ISL","冰岛"},
		{"356","IND","印度"},
		{"360","IDN","印度尼西亚"},
		{"364","IRN","伊朗"},
		{"368","IRQ","伊拉克"},
		{"372","IRL","爱尔兰"},
		{"376","ISR","以色列"},
		{"380","ITA","意大利"},
		{"388","JAM","牙买加"},
		{"392","JPN","日本"},
		{"400","JOR","约旦"},
		{"398","KAZ","哈萨克斯坦"},
		{"404","KEN","肯尼亚"},
		{"296","KIR","基里巴斯"},
		{"408","PRK","朝鲜"},
		{"410","KOR","韩国"},
		{"414","KWT","科威特"},
		{"417","KGZ","吉尔吉斯斯坦"},
		{"418","LAO","老挝"},
		{"428","LVA","拉脱维亚"},
		{"422","LBN","黎巴嫩"},
		{"426","LSO","莱索托"},
		{"430","LBR","利比里亚"},
		{"434","LBY","利比亚"},
		{"438","LIE","列支敦士登"},
		{"440","LTU","立陶宛"},
		{"442","LUX","卢森堡"},
		{"807","MKD","前南马其顿"},
		{"450","MDG","马达加斯加"},
		{"454","MWI","马拉维"},
		{"458","MYS","马来西亚"},
		{"462","MDV","马尔代夫"},
		{"466","MLI","马里"},
		{"470","MLT","马耳他"},
		{"584","MHL","马绍尔群岛"},
		{"474","MTQ","马提尼克"},
		{"478","MRT","毛里塔尼亚"},
		{"480","MUS","毛里求斯"},
		{"175","MYT","马约特"},
		{"484","MEX","墨西哥"},
		{"583","FSM","密克罗尼西亚联邦"},
		{"498","MDA","摩尔多瓦"},
		{"492","MCO","摩纳哥"},
		{"496","MNG","蒙古"},
		{"500","MSR","蒙特塞拉特"},
		{"504","MAR","摩洛哥"},
		{"508","MOZ","莫桑比克"},
		{"104","MMR","缅甸"},
		{"516","NAM","纳米比亚"},
		{"520","NRU","瑙鲁"},
		{"524","NPL","尼泊尔"},
		{"528","NLD","荷兰"},
		{"530","ANT","荷属安的列斯"},
		{"540","NCL","新喀里多尼亚"},
		{"554","NZL","新西兰"},
		{"558","NIC","尼加拉瓜"},
		{"562","NER","尼日尔"},
		{"566","NGA","尼日利亚"},
		{"570","NIU","纽埃"},
		{"574","NFK","诺福克岛"},
		{"580","MNP","北马里亚纳"},
		{"578","NOR","挪威"},
		{"512","OMN","阿曼"},
		{"586","PAK","巴基斯坦"},
		{"585","PLW","帕劳"},
		{"374","PST","巴勒斯坦"},
		{"591","PAN","巴拿马"},
		{"598","PNG","巴布亚新几内亚"},
		{"600","PRY","巴拉圭"},
		{"604","PER","秘鲁"},
		{"608","PHL","菲律宾"},
		{"612","PCN","皮特凯恩群岛"},
		{"616","POL","波兰"},
		{"620","PRT","葡萄牙"},
		{"630","PRI","波多黎各"},
		{"634","QAT","卡塔尔"},
		{"638","REU","留尼汪"},
		{"642","ROM","罗马尼亚"},
		{"643","RUS","俄罗斯联邦"},
		{"646","RWA","卢旺达"},
		{"654","SHN","圣赫勒拿"},
		{"659","KNA","圣基茨和尼维斯"},
		{"662","LCA","圣卢西亚"},
		{"666","SPM","圣皮埃尔和密克隆"},
		{"670","VCT","圣文森特和格林纳丁斯"},
		{"882","WSM","萨摩亚"},
		{"674","SMR","圣马力诺"},
		{"678","STp","圣多美和普林西比"},
		{"682","SAU","沙特阿拉伯"},
		{"686","SEN","塞内加尔"},
		{"690","SYC","塞舌尔"},
		{"694","SLE","塞拉利昂"},
		{"702","SGP","新加坡"},
		{"703","SVK","斯洛伐克"},
		{"705","SVN","斯洛文尼亚"},
		{"090","SLB","所罗门群岛"},
		{"706","SOM","索马里"},
		{"710","ZAF","南非"},
		{"239","SGS","南乔治亚岛和南桑德韦奇岛"},
		{"724","ESP","西班牙"},
		{"144","LKA","斯里兰卡"},
		{"736","SDN","苏丹"},
		{"740","SUR","苏里南"},
		{"744","SJM","斯瓦尔巴群岛"},
		{"748","SWZ","斯威士兰"},
		{"752","SWE","瑞典"},
		{"756","CHE","瑞士"},
		{"760","SYR","叙利亚"},
		{"762","TJK","塔吉克斯坦"},
		{"834","TZA","坦桑尼亚"},
		{"764","THA","泰国"},
		{"768","TGO","多哥"},
		{"772","TKL","托克劳"},
		{"776","TON","汤加"},
		{"780","TTO","特立尼达和多巴哥"},
		{"788","TUN","突尼斯"},
		{"792","TUR","土耳其"},
		{"795","TKM","土库曼斯坦"},
		{"796","TCA","特克斯科斯群岛"},
		{"798","TUV","图瓦卢"},
		{"800","UGA","乌干达"},
		{"804","UKR","乌克兰"},
		{"784","ARE","阿联酋"},
		{"826","GBR","英国"},
		{"840","USA","美国"},
		{"581","UMI","美国本土外小岛屿"},
		{"858","URY","乌拉圭"},
		{"860","UZB","乌兹别克斯坦"},
		{"548","VUT","瓦努阿图"},
		{"336","VAT","梵蒂冈"},
		{"862","VEN","委内瑞拉"},
		{"704","VNM","越南"},
		{"092","VGB","英属维尔京群岛"},
		{"850","VIR","美属维尔京群岛"},
		{"876","WLF","瓦利斯和富图纳"},
		{"732","ESH","西撒哈拉"},
		{"887","YEM","也门"},
		{"891","YUG","南斯拉夫"},
		{"894","ZMB","赞比亚"},
		{"716","ZWE","津巴布韦"}		
		};
}